package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyMdYydzDetail;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdYydzDetailParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdYydzParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdYydzDetailResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 营业额报备详情表 服务类
 * </p>
 *
 * @author 
 * @since 2021-12-03
 */
public interface BtyMdYydzDetailService extends IService<BtyMdYydzDetail> {

    /**
     * 新增
     *
     * @author 
     * @Date 2021-12-03
     */
    void add(BtyMdYydzDetailParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2021-12-03
     */
    void delete(BtyMdYydzDetailParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2021-12-03
     */
    void update(BtyMdYydzDetailParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2021-12-03
     */
    BtyMdYydzDetailResult findBySpec(BtyMdYydzDetailParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2021-12-03
     */
    List<BtyMdYydzDetailResult> findListBySpec(BtyMdYydzDetailParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2021-12-03
     */
     LayuiPageInfo findPageBySpec(BtyMdYydzDetailParam param);

    void addReport(BtyMdYydzDetailParam param, String account);

    LayuiPageInfo reprotList(BtyMdYydzDetailParam btyMdYydzDetailParam);

    LayuiPageInfo noReplyList(BtyMdYydzDetailParam btyMdYydzDetailParam);

    LayuiPageInfo replyList(BtyMdYydzDetailParam btyMdYydzDetailParam);

    void editReply(BtyMdYydzDetailParam btyMdYydzDetailParam, String account);

    void pushDdMsg(BtyMdYydzDetailParam btyMdYydzDetailParam);

    void pushDzMsg(BtyMdYydzDetailParam btyMdYydzDetailParam);

    ResponseData now();
}
